ADDFile to repo

svn add list.txt

Check in/out

# Check in: Upload a file to the repository
svn ci list.txt -m "Changed the list"

# Check out: Download a file from the repo.
svn co list.txt (get latest version)

# edit file…
svn revert list.txt  # (throw away changes)
svn co -r2 list.txt  #(check out particular version)

Diff versions

svn diff -r3:4 list.txt

Branching and Merging

In Subversion, you create a branch simply by copying a directory to another.

svn copy http://path/to/trunk http://path/to/branch

In Subversion merging is very close to diffing. Inside the main trunk, run the command:

svn merge -r5:6 http://path/to/branch

Tagging

In Subversion, tags are just branches that you agree not to edit; they are around for posterity, so in trunk

svn copy http://path/to/revision http://path/to/tag

Source: